<?php

/**
 * static components.
 *
 * @package    first
 * @subpackage static
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class staticComponents extends sfComponents
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeMenu(sfWebRequest $request){
  }
  
  /**
   * 
   */
  public function executeSlider(sfWebRequest $request){
  }
  
  
  /**
   * Footer
   */
  public function executeFooter(sfWebRequest $request){
        $this->subCategories = Doctrine_core::getTable('SubCategory')->findAll();
  }
   /**
   *  gmaps 
   */
  public function executeGmaps(sfWebRequest $request){
        $this->gMap = new GMap();
        $this->gMap->addMarker(new GMapMarker(35.6969444,-0.6330556));
        $this->gMap->centerAndZoomOnMarkers(0,5);
  }
  
}
